<?php

namespace app\admin\model;

use think\Model;
use think\model\concern\SoftDelete;

class Clas extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';

    public function getClassStatusAttr($value)
    {
        $status = [1=>'在校',0=>'毕业'];
        return $status[$value];
    }
    //
}
